package com.project.forlearning.service;

import javax.mail.MessagingException;
import javax.servlet.http.HttpServletRequest;

/**
 * 后台登录服务
 */
public interface BackLoginService {
    //管理员注册
    String registerAdmin(String mail, String pass) throws MessagingException;
    //管理员登录
    String loginAdmin(String adminName, String pass, HttpServletRequest request);
    //管理员修改密码
    String updateAdminPass(String mail, String pass);
    //注销
    String logout();
}
